﻿using System;
using System.Collections.Generic;

namespace Telerik.Sitefinity.Social.Contracts
{
    /// <summary>
    /// Mandates the members that every class wishing to behave as Person must implement.
    /// </summary>
    public interface IPerson
    {
        /// <summary>
        /// Gets the name of the user.
        /// </summary>
        /// <value>The name of the user.</value>
        string UserName { get; }

        /// <summary>
        /// Gets the creation date.
        /// </summary>
        /// <value>The creation date.</value>
        DateTime CreationDate{ get; }

        /// <summary>
        /// Gets or sets the email.
        /// </summary>
        /// <value>The email.</value>
        string Email { get; set; }
    }
}
